package cn.tedu.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

//属性的名字 必须 和表里的字段名 一致，否则无法ORM
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors
public class User {
    private Integer id;
    private String name;
    private String addr;
    private Integer age;
}
